package com.sm.model;


import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Withdrawal {
  /**
   *提现表主键id
   */
  private Integer withdrawalId;
  /**
   *用户id
   */
  private Integer userId;
  /**
   * 用户名字
   */
  private String userName;
  /**
   *提现时间
   */
  @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
  private Date withdrawalTime;
  /**
   *提现金额
   */
  private BigDecimal withdrawalMoney;
  /**
   *实际到账金额
   */
  private BigDecimal realMoney;
  /**
   *手续费
   */
  private BigDecimal charge;
  /**
   *提现状态 0提现中1成功2失败
   */
  private Integer status;
  /**
   * 手机号
   */
  private String phone;
  /**
   * 身份证号
   */
  private String identityCard;
  /**
   * 银行卡号
   */
  private String bankCard;
  /**
   * 银行名字
   */
  private String bankName;
  /**
   * 开户行
   */
  private String bankCardOpenBank;
  /**
   * 创建时间
   */
  @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
  private Date  createTime;
  /**
   * 更新时间
   */
  @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
  private Date  updateTime;
  /**
   * 银行卡id
   */
  private Integer bankCardId;

}
